home *** CD-ROM | disk | FTP | other *** search
- /* vgaedit 1.1 copy right 1996 by Bruce R. O'Banion prototypes */
-
- int read_palette(char palette);
- int read_dac_buff(char *color_buff);
- int read_color_reg(char *colors,int reg);
- int write_dac_buff(char *color_buff);
- int write_color_reg(char *colors,int reg);
- int gray_color_regs(void);
- int gray_color_reg(int reg);
- int vga_get_adapter(void);
- int read_palette_scheme(char *color_buff);
- int write_palette_scheme(char *color_buff);
- int write_palette(char color,char palette);
- int toggle_intensity(unsigned char toggle);
- int toggle_blink(unsigned char toggle);
- int load_color_regs(char *file_name);
- int save_color_regs(char *file_name);
- int load_palette(char *file_name);
- int save_palette(char *file_name);
- int enable_reset(unsigned char toggle);
- int init_vgaedit(void);
- int uninit_vgaedit(void);
-
- # define VGA 9
- # define EGA 3
-
-
- /* color defines for the DAC */
-
- #define C_BLACK 0
- #define C_BLUE 1
- #define C_GREEN 2
- #define C_CYAN 3
- #define C_RED 4
- #define C_MAGENTA 5
- #define C_LIME 6
- #define C_LIGHT_GRAY 7
- #define C_DARK_PURPLE 8
- #define C_BRIGHT_BLUE 9
- #define C_LIGHT_GREEN 10
- #define C_PALE_CYAN 11
- #define C_ROSE 12
- #define C_PALE_PURPLE 13
- #define C_PEA_GREEN 14
- #define C_PALE_MAGENTA 15
- #define C_FOREST_GREEN 16
- #define C_INDIGO 17
- #define C_BRIGHT_GREEN 18
- #define C_PALE_GREEN 19
- #define C_BROWN 20
- #define C_LIGHT_MAGENTA 21
- #define C_BRIGHT_GREEN_2 22
- #define C_PALE_GREEN_2 23
- #define C_DARK_GRAY 24
- #define C_LIGHT_BLUE 25
- #define C_BRIGHT_GREEN_3 26
- #define C_LIGHT_CYAN 27
- #define C_RED_BROWN 28
- #define C_PALE_MAGENTA_2 29
- #define C_BRIGHT_GREEN_4 30
- #define C_BRIGHT_CYAN 31
- #define C_DARK_RED 32
- #define C_DARK_INDIGO 33
- #define C_GREEN_2 34
- #define C_CYAN_2 35
- #define C_BRIGHT_RED 36
- #define C_BRIGHT_MAGENTA 37
- #define C_ORANGE_YELLOW 38
- #define C_MELLON 39
- #define C_DARK_PURPLE_2 40
- #define C_BLUE_2 41
- #define C_GREEN_3 42
- #define C_SKY_BLUE 43
- #define C_BRIGHT_RED_2 44
- #define C_BRIGHT_MAGENTA_2 45
- #define C_TAN 46
- #define C_PINK 47
- #define C_FOREST_GREEN_2 48
- #define C_BLUE_GRAY 49
- #define C_BRIGHT_GREEN_5 50
- #define C_PALE_GREEN_3 51
- #define C_RED_ORANGE 52
- #define C_DARK_PINK 53
- #define C_LIME_YELLOW 54
- #define C_PALE_YELLOW 55
- #define C_DARK_GRAY_2 56
- #define C_BLUE_3 57
- #define C_GREEN_4 58
- #define C_PALE_CYAN_2 59
- #define C_LIGHT_RED 60
- #define C_PALE_MAGENTA_3 61
- #define C_YELLOW 62
- #define C_WHITE 63
-